import Vue from 'vue'
import Vuex from 'vuex'
import homeStore from './modules/homeStore'
import detailStore from './modules/detailStore'
import loginStore from './modules/loginStore'
import regStore from './modules/regStore'
import cartStore from './modules/cartStore'

Vue.use(Vuex)

export default new Vuex.Store({
  modules: {
    homeStore,
    detailStore,
    loginStore,
    regStore,
    cartStore
  }
})
